package com.example.hospital.api.db.dao;

import com.example.hospital.api.db.pojo.DoctorEntity;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DoctorDao {
   public ArrayList<HashMap> searchByPage(Map param);
   public long searchCount(Map param);
   public HashMap searchContent(int id);
   @Transactional
   public void insert(DoctorEntity doctorEntity);
   public Integer searchIdByUuid(String uuid);
   public void updatePhoto(Map param);
   public HashMap searchById(int id);
   public void update(Map param);
   void deleteDoctorByIds(Integer[] ids);
}




